package org.nobject.common.http;

/**
 * HttpCookie
 *
 * @author bianrongjun
 * @version 1.0
 */
public class HttpCookie {
	
	/** 键名 */
	public String key;
	/** 键值 */
	public String value;
	/** 有效期 */
	public String expire;
	/** 域名 */
	public String domain;
	/** 路径 */
	public String path;
	
	/**
	 * 构造函数 
	 */
	public HttpCookie(){
		
	}
	
	/**
	 * 构造函数 
	 * @param key
	 * @param value
	 * @param expire
	 * @param domain
	 * @param path
	 */
	public HttpCookie(String key, String value, String expire, String domain, String path) {
		this.key = key;
		this.value = value;
		this.expire = expire;
		this.domain = domain;
		this.path = path;
	}

	/** getKey */
	public String getKey() {
		return key;
	}

	/** setKey */
	public void setKey(String key) {
		this.key = key;
	}

	/** getValue */
	public String getValue() {
		return value;
	}

	/** setValue */
	public void setValue(String value) {
		this.value = value;
	}

	/** getExpire */
	public String getExpire() {
		return expire;
	}

	/** setExpire */
	public void setExpire(String expire) {
		this.expire = expire;
	}

	/** getDomain */
	public String getDomain() {
		return domain;
	}

	/** setDomain */
	public void setDomain(String domain) {
		this.domain = domain;
	}

	/** getPath */
	public String getPath() {
		return path;
	}

	/** setPath */
	public void setPath(String path) {
		this.path = path;
	}
	
}
